<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <style>
        * {
            padding: 0;
            margin: 0;
            border: none;
            list-style: none;
        }

        a {
            height: 50px;
            width: 200px;
            border: 2px #006699 solid;
            display: block;
            line-height: 50px;
            text-align: center;
            margin-top: 3px;
        }

        input {
            height: 30px;
            width: 200px;
            border: 2px #006699 solid;
            margin-top: 3px;
        }

        div {
            margin-left: 50px;
        }
    </style>
</head>
<body>
<div>
    <input id="apkInput" type="text" placeholder="aco版本号" value="V8.7.5.9" name="下载apk">
    <a id="apkValue" href="javascript:void(0)" onclick="downloadApk()">下载aco</a>
</div>
<div>
    <input id="vpnUserInput" type="text" placeholder="vpn" value="V8.7.5.0" name="复制vpn">
    <input id="vpnPasswordInput" type="text" placeholder="vpn" value="V8.7.5.0" name="复制vpn">
    <a href="">复制VPN密码</a>
</div>
<div>
    <a href="http://10.1.23.245:9220/aco/aw/">下载</a>
</div>
</body>
<script type="text/javascript">
    function downloadApk() {
        apkInput = document.getElementById("apkInput").value
        apkValue = document.getElementById("apkValue")
        // apkValue.setAttribute("href", "http://10.1.23.245:9220/aco/aw/ALDI_ACO_" + apkInput.valueOf() + ".apk")
        apkValue.setAttribute("href", "http://10.222.1.195:9220/aco/aw/ALDI_ACO_" + apkInput.valueOf() + ".apk")
    }

    function getVpn() {

    }
</script>
</html>